
cmake_minimum_required(VERSION 3.10)

project(wfrestProject)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED on)

include_directories(${PROJECT_SOURCE_DIR}/include)
file(GLOB src_source ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cc)

set(HOME ..)
set(EXECUTABLE_OUTPUT_PATH ${HOME})

add_definitions(-D DEBUG)

add_executable(disk ${src_source})

#set_target_properties(disk PROPERTIES ${CMAKE_CURRENT_SOURCE_DIR})

target_compile_options(
    disk PRIVATE
    -std=c++11
    -fno-rtti
    )

target_link_libraries(
    disk PRIVATE 
    alibabacloud-oss-cpp-sdk
    curl
    ssl 
    crypto 
    pthread
    jwt 
    wfrest
    )

